projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62232c
)
Fix a small leak in ostree_repo_pull_with_options
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 15 Dec 2018 16:15:29 +0000
(11:15 -0500)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Thu, 20 Dec 2018 18:10:16 +0000
(18:10 +0000)
Spotted in a flatpak valgrind log.
Closes: #1788
Approved by: cgwalters
src/libostree/ostree-repo-pull.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo-pull.c
b/src/libostree/ostree-repo-pull.c
index 1efb38b31ebc23a5226a49d2e352c4bad4de4e43..b7eba9d28205160f43e52edcf7c3c047338f0b56 100644
(file)
--- a/
src/libostree/ostree-repo-pull.c
+++ b/
src/libostree/ostree-repo-pull.c
@@
-4643,6
+4643,7
@@
ostree_repo_pull_with_options (OstreeRepo *self,
g_clear_object (&pull_data->cancellable);
g_clear_pointer (&pull_data->localcache_repos, (GDestroyNotify)g_ptr_array_unref);
g_clear_object (&pull_data->remote_repo_local);
+ g_free (pull_data->remote_refspec_name);
g_free (pull_data->remote_name);
g_free (pull_data->append_user_agent);
g_clear_pointer (&pull_data->meta_mirrorlist, (GDestroyNotify) g_ptr_array_unref);